package com.yzy.domain.vo.system;

import com.yzy.domain.entity.system.RoleTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;

@Getter
@Setter
/**
 * 用户表
 */
public class AccountVo {

    private String id;

    @ApiModelProperty("密码")
    private String password;

    private Boolean disabled;

    @ApiModelProperty("登录手机")
    private String loginMobile;

    @ApiModelProperty("用户登录名")
    private String userName;

    @ApiModelProperty("用户头像id => datafileId")
    private String coverId;

    @ApiModelProperty("用户工号")
    private String staffId;

    @ApiModelProperty("简拼")
    private String spellName;

    @ApiModelProperty("男女  0未知性别 1男性 2女性 9未说明性别")
    private Integer sex;

    @ApiModelProperty("出生日期  yyyy-MM-dd")
    private LocalDate birthday;

    @ApiModelProperty("联系座机号")
    private String telephone;

    @ApiModelProperty("联系手机号")
    private String mobile;

    @ApiModelProperty("日期 yyyy-MM-dd")
    private LocalDate hireDate;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("角色id")
    private String roleId;

    @ApiModelProperty("角色名")
    private String roleName;

    @ApiModelProperty("角色类型")
    private RoleTypeEnum roleType;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("昵称")
    private String nickname;

    private String userInfoId;
}
